import {makeAutoObservable} from 'mobx';
import {MapType} from "../../resources/maps";

class AppStore {

  leftFloatShow: string = ''
  currentMapKey: string = 'shc'
  allMap?: Map<string, MapType>
  allSprite?: Map<string, string>

  constructor() {
    makeAutoObservable(this);
  }

  setLeftFloatShow(v: string) {
    this.leftFloatShow = v
  }

}

export const appStore = new AppStore();
